package com.aizhixin.lab.project.course.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;
import java.util.List;

@Data
public class ReleaseExercisesDomain {
    @ApiModelProperty(value = "工单Id")
    private String workOrderId;
    @ApiModelProperty(value = "任务Id")
    private String taskId;
    private String exercisesName;
    @ApiModelProperty(value = "项目班级Id")
    private List<String> projectClassId;
    @ApiModelProperty(value = "是否设置时间")
    private Boolean isSetTime=false;
    @ApiModelProperty(value = "联系时长")
    private Integer duration;
    //    @ApiModelProperty(value = "任务发布类型:10(个人任务)20(小组任务)暂时不用传")
//    private Integer type;
    @ApiModelProperty(value = "任务结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date taskEndTime;
}
